package com.jhgsys.internal.system.entity;

import com.jhgsys.internal.common.entity.DeptTreeNew;
import com.jhgsys.internal.common.entity.MenuTreeNew;
import lombok.Data;

import java.util.List;

@Data
public class DeptModel {

    private Integer code = 0;

    private String msg = "success";

    private Integer count;

    private List<DeptTreeNew<Dept>> data;

    public DeptModel (Integer code,String msg,Integer count,List<DeptTreeNew<Dept>> data){
        super();
        this.code = code;
        this.msg = msg;
        this.count = count;
        this.data = data;
    }

    public DeptModel(List<DeptTreeNew<Dept>> data,Integer count){
        super();
        this.count = count;
        this.data = data;
    }

}
